package huytq.gs.view;

import org.andengine.engine.camera.Camera;
import org.andengine.engine.options.EngineOptions;
import org.andengine.engine.options.ScreenOrientation;
import org.andengine.engine.options.WakeLockOptions;
import org.andengine.engine.options.resolutionpolicy.FillResolutionPolicy;
import org.andengine.entity.scene.Scene;
import org.andengine.entity.sprite.Sprite;
import org.andengine.opengl.texture.TextureOptions;
import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas;
import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlasTextureRegionFactory;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.texture.region.TextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.ui.activity.SimpleLayoutGameActivity;

import com.example.paralletkill.R;

import android.widget.ImageView;
import android.widget.SeekBar;


public class ParalletKill extends SimpleLayoutGameActivity{

	private static final int WIDTH = 800;
    private static final int HEIGHT = 480;
   
    private Scene _scene;
    private Camera _camera;
   
   
    VertexBufferObjectManager vbom;
    
    
    
    ImageView img_ThongTin, img_GameKhac, img_Choi ; 
     SeekBar sb;
	
	@Override
	public EngineOptions onCreateEngineOptions() {
		_camera = new Camera(0, 0, WIDTH, HEIGHT);
        EngineOptions engineOptions = new EngineOptions(true,
                        ScreenOrientation.LANDSCAPE_FIXED, new FillResolutionPolicy(), _camera);
        engineOptions.setWakeLockOptions(WakeLockOptions.SCREEN_ON);
		return engineOptions;
	}

	@Override
	protected void onCreateResources() {
		
	}

	@Override
	protected Scene onCreateScene() {
		_scene = new Scene();
		 runOnUiThread(new Runnable() {
				
				@Override
				public void run() {
					// TODO Auto-generated method stub
					new DangNhap(ParalletKill.this);
				}
			});
		 return _scene;
	}

	@Override
	protected int getLayoutID() {
		// TODO Auto-generated method stub
		return R.layout.test;
	}

	@Override
	protected int getRenderSurfaceViewID() {
		// TODO Auto-generated method stub
		return R.id.andengine_rendersurfaceview;
	}
	
	

}
